<%@ page import="com.moment.model.*"%>
	<%@page import="com.moment.webservice.*"%>
	<%@page import="com.moment.util.Converter"%>
	<%@page import="java.util.HashMap"%>
	<%@page import="java.util.Map"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<%
	Random randomValue = new Random();

// ---------------------------
	String id = request.getParameter("id");
	if(id!="null")
	{//--New CODE-------------
		Map<String, String> map = new HashMap<String, String>();
		map.put("method", "14");
		map.put("mnum", (String) session.getAttribute("username"));

		String json = new Converter().mapToJson(map);
		System.out.println("json String :" + json);
		Services serviceproxy = new ServicesProxy();

		String notify = serviceproxy.service(json);
		
		out.print(notify);
	}
	%>